using Common;
using Microsoft.AspNetCore.Mvc;

namespace Api.Controllers;

/// <summary>
/// 测试控制器
/// </summary>
/// <remarks>
/// 提供测试接口，用于验证API服务是否正常运行
/// </remarks>
[ApiController]
[Route("/api/test")]
public class TestController
{
    /// <summary>
    /// 测试接口
    /// </summary>
    /// <returns>返回测试数据</returns>
    /// <response code="200">返回测试学生信息</response>
    [HttpGet]
    public R<Dictionary<string, string>> Get()
    {
        var dict = new Dictionary<string, string>{{"20250751337", "杨钦贤"}};
        return R<Dictionary<string, string>>.Success(dict);
    }
}